
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    
    public partial class UserMemberInfo:BaseModel
    {      
    
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 密匙
        /// </summary>
        public string PasswordSalt { get; set; }
        /// <summary>
        /// 邮件
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public System.DateTime CreateDate { get; set; }
        /// <summary>
        /// 省份ID
        /// </summary>
        public int TopRegionId { get; set; }
        /// <summary>
        /// 省市区ID
        /// </summary>
        public int RegionId { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string CellPhone { get; set; }
        /// <summary>
        /// QQ
        /// </summary>
        public string QQ { get; set; }
        /// <summary>
        /// 街道地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool Disabled { get; set; }
        /// <summary>
        /// 最后登录日期
        /// </summary>
        public System.DateTime LastLoginDate { get; set; }
        /// <summary>
        /// 下单次数
        /// </summary>
        public int OrderNumber { get; set; }
        /// <summary>
        /// 总消费金额（不排除退款）
        /// </summary>
        public decimal Expenditure { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int Points { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string Nick { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string photo { get; set; }
        /// <summary>
        /// 商家父账号ID
        /// </summary>
        public long ParentSellerId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 支付密码
        /// </summary>
        public string PayPwd { get; set; }
        public string PayPwdSalt { get; set; }
        /// <summary>
        /// 邀请人Id
        /// </summary>
        public Nullable<long> InviteUserId { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public Nullable<Himall.CommonModel.SexType> Sex { get; set; }
        /// <summary>
        /// 分销员Id
        /// </summary>
        public Nullable<long> ShareUserId { get; set; }
        /// <summary>
        /// 总消费金额（不排除退款）
        /// </summary>
        public decimal TotalAmount { get; set; }
        /// <summary>
        /// 会员生日
        /// </summary>
        public Nullable<System.DateTime> BirthDay { get; set; }
        /// <summary>
        /// 职业
        /// </summary>
        public string Occupation { get; set; }
        /// <summary>
        /// 净消费金额（排除退款）
        /// </summary>
        public decimal NetAmount { get; set; }
        /// <summary>
        /// 最后消费时间
        /// </summary>
        public Nullable<System.DateTime> LastConsumptionTime { get; set; }
    
        public virtual ICollection<FavoriteInfo> FavoriteInfo { get; set; } = new HashSet<FavoriteInfo>();
        public virtual ICollection<MemberOpenIdInfo> MemberOpenIdInfo { get; set; } = new HashSet<MemberOpenIdInfo>();
        public virtual ICollection<ShippingAddressInfo> ShippingAddressInfo { get; set; } = new HashSet<ShippingAddressInfo>();
        internal virtual ICollection<ShoppingCartItemInfo> ShoppingCartInfo { get; set; } = new HashSet<ShoppingCartItemInfo>();
        public virtual ICollection<FavoriteShopInfo> Himall_FavoriteShops { get; set; } = new HashSet<FavoriteShopInfo>();
        public virtual ICollection<BrowsingHistoryInfo> Himall_BrowsingHistory { get; set; } = new HashSet<BrowsingHistoryInfo>();
        public virtual ICollection<ProductCommentInfo> Himall_ProductComments { get; set; } = new HashSet<ProductCommentInfo>();
        public virtual ICollection<MemberIntegralRecord> Himall_MemberIntegralRecord { get; set; } = new HashSet<MemberIntegralRecord>();
        public virtual ICollection<MemberIntegral> Himall_MemberIntegral { get; set; } = new HashSet<MemberIntegral>();
        public virtual ICollection<InviteRecordInfo> InviteMemberRecord { get; set; } = new HashSet<InviteRecordInfo>();
        public virtual ICollection<InviteRecordInfo> RegMemberRecord { get; set; } = new HashSet<InviteRecordInfo>();
        public virtual ICollection<BonusReceiveInfo> Himall_BonusReceive { get; set; } = new HashSet<BonusReceiveInfo>();
        public virtual ICollection<ShopBonusReceiveInfo> Himall_ShopBonusReceive { get; set; } = new HashSet<ShopBonusReceiveInfo>();
        public virtual ICollection<ShopBonusGrantInfo> Himall_ShopBonusGrant { get; set; } = new HashSet<ShopBonusGrantInfo>();
        public virtual ICollection<AgentProductsInfo> Himall_AgentProducts { get; set; } = new HashSet<AgentProductsInfo>();
        public virtual ICollection<PromoterInfo> Himall_Promoter { get; set; } = new HashSet<PromoterInfo>();
        public virtual ICollection<DistributionUserLinkInfo> Himall_DistributionUserLink { get; set; } = new HashSet<DistributionUserLinkInfo>();
    }
}
